package com.dal.common.entity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName User
 * @Author jian
 * @Date 3:28 PM 2022/9/15
 **/
public class DiralcDetail {
    private String detailId;
    //private Goods goods;
    private String gdCode;
    private String munit;
    //private Warehouse wrh;
    private BigDecimal alcQty;
    private String alcQtyStr;
    private BigDecimal planQty;
    private String planQtyStr;
    private BigDecimal qty;
    private String qtyStr;
    private BigDecimal torCvQty;
    private BigDecimal price;
    private BigDecimal total;
    private BigDecimal tax;
    private BigDecimal taxRate;
    private BigDecimal alcPrc;
    private BigDecimal alcAmt;
    private BigDecimal alcTax;
    private BigDecimal rtlPrc;
    private Date validDate;
    private BigDecimal rTotal;
    private BigDecimal ivcQty = BigDecimal.ZERO;
    private BigDecimal ivcTotal = BigDecimal.ZERO;
    private String bNum;
    private String vBnum;
    private Integer sale = 1;
    //private Vendor billTo;
   // private Vendor vendor;
    private BigDecimal cAmt;
    private BigDecimal cTax;
    private String ordNum;
    private String ordCls;
    private Integer ordLine;
    private BigDecimal crtlPrc;
    private String qpcStr;
    private BigDecimal qpc;
    private Date proddate;
    //private GoodsType goodsType = GoodsType.normal;
    private BigDecimal sPrice = BigDecimal.ZERO;
    private BigDecimal sTotal = BigDecimal.ZERO;
    private BigDecimal dTotal = BigDecimal.ZERO;
    private BigDecimal sAmt = BigDecimal.ZERO;
    private BigDecimal sTax = BigDecimal.ZERO;
    private BigDecimal scAmt = BigDecimal.ZERO;
    private BigDecimal scTax = BigDecimal.ZERO;
    private BigDecimal inPrc = BigDecimal.ZERO;
    private BigDecimal saleTax = BigDecimal.ZERO;
    private BigDecimal ivcReg = BigDecimal.ZERO;
    private Integer fromGid;
    private String qtyRat;
    private Integer fromBill;
    private BigDecimal wrhPrice = BigDecimal.ZERO;
    private BigDecimal storePrice = BigDecimal.ZERO;
    private BigDecimal storeTotal = BigDecimal.ZERO;
    private BigDecimal storeTax = BigDecimal.ZERO;

    // 界面需要去掉的字段
    private BigDecimal ctbRegQty = BigDecimal.ZERO;
    private String torCvQtyStr;
    private BigDecimal whsPrc = BigDecimal.ZERO;
    private Integer has2 = 0;
    private Integer isGft = 0;
    private BigDecimal listPrc = BigDecimal.ZERO;
    private BigDecimal nDis = BigDecimal.ZERO;
    private BigDecimal dDis = BigDecimal.ZERO;
    private BigDecimal eDis = BigDecimal.ZERO;
    private BigDecimal mDis = BigDecimal.ZERO;
    private BigDecimal reBate = BigDecimal.ZERO;
    private BigDecimal npDis = BigDecimal.ZERO;
    private BigDecimal oDis = BigDecimal.ZERO;
    private String bin = "1";
    private BigDecimal amtDis = BigDecimal.ZERO;
    private String payMode;
    private String calcBase;
    private Integer payTerms;
    private String bckCls;
    private String action;
    private String sBckReason;
    private BigDecimal ctbRegedQty = BigDecimal.ZERO;
    private BigDecimal ctbRegTotal = BigDecimal.ZERO;
    private BigDecimal ctbRegTax = BigDecimal.ZERO;
    private BigDecimal ctbRegRTotal = BigDecimal.ZERO;
    private Date bgnExPiryDate;
    private Date endExPiryDate;
    private Integer isRebate = 0;
    private String srcDnum;
    private String cntrNum;
    private Integer cntrVersion;
    private BigDecimal loss = BigDecimal.ZERO;
    private Map<String, String> customFields = new HashMap<String, String>();
}
